﻿using SqlSugar;
namespace YOUYOU.Models.Entities.DBModels
{
    /// <summary>
    /// 健康管理表
    ///</summary>
    [SugarTable("managements_health")]
    public class ManagementsHealth
    {
        /// <summary>
        /// 自增id 
        ///</summary>
        [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
        public int? Id { get; set; }
        /// <summary>
        /// 患者ID 
        ///</summary>
        [SugarColumn(ColumnName = "PatientId")]
        public string? PatientId { get; set; }
        /// <summary>
        /// 创建日期 
        ///</summary>
        [SugarColumn(ColumnName = "CreateDate")]
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 血压管理 
        ///</summary>
        [SugarColumn(ColumnName = "BloodManagement")]
        public string? BloodManagement { get; set; }
        /// <summary>
        /// 血糖管理 
        ///</summary>
        [SugarColumn(ColumnName = "BloodSugarManagement")]
        public int? BloodSugarManagement { get; set; }
        /// <summary>
        /// 其他管理 
        ///</summary>
        [SugarColumn(ColumnName = "OtherManagement")]
        public string? OtherManagement { get; set; }
        public int? ArchivesId { get; set; }
    }
}
